import request from '@/utils/request';
//import requestUpload from '@/utils/requestUpload';

export async function getSerialNumberItemByPage(params: any) {
  return request('/api/baseData/getSerialNumberItemByPage', {
    method: 'POST',
    data: params,
  });
}

export async function addSerialNumberItem(params: any) {
  return request('/api/baseData/addSerialNumberItem', {
    method: 'POST',
    data: params,
  });
}

export async function delSerialNumberItem(params: any) {
  return request('/api/baseData/delSerialNumberItem', {
    method: 'POST',
    data: params,
  });
}

export async function updateSerialNumberItem(params: any) {
  return request('/api/baseData/updateSerialNumberItem', {
    method: 'POST',
    data: params,
  });
}
